package com.tebiecloud.order.server.service;

import com.tebiecloud.order.client.model.entity.OrderGoods;
import com.tebiecloud.common.mybatis.base.service.IBaseService;

import java.util.List;

/**
 * 订单商品信息 服务类
 * @author tebie
 * @date 2019-09-15
 */
public interface OrderGoodsService extends IBaseService<OrderGoods> {

    /**
     * 获取订单商品列表
     * @param orderId 订单id
     * @return
     */
    List<OrderGoods> listByOrderId(Long orderId,Long userId);

}
